deploy: Also honor multiply-specified kernel args with existing config
authorColin Walters <walters@verbum.org>
Sun, 3 Aug 2014 18:32:52 +0000 (14:32 -0400)
committerColin Walters <walters@verbum.org>
Sun, 3 Aug 2014 18:34:28 +0000 (14:34 -0400)
commit82fb07e4ae756aac2dc32f50ff75ad84dce223c0
treeb1c90a7ea74f4f1c582c81d3553c44d64841d959
parent22bd6d9102ab2bb3f003aa392c95d1f6200fdfa7
deploy: Also honor multiply-specified kernel args with existing config

If we deployed a new tree inside an existing OS, inheriting kernel
args, we need to use append() instead of replace() to avoid collapsing
multiply specified kernel arguments like console=/dev/foo
console=/dev/bar.

Reported-by: Dusty Mabe <dusty@dustymabe.com>
src/ostree/ot-admin-builtin-deploy.c
tests/admin-test.sh